package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 	机构详情表
 */
@Entity
@Table
public class OrganDetails implements Serializable{
	
	private static final long serialVersionUID = 8102491737139248324L;
	
	private Integer code;					//流水号
	private Integer oc;						//机构编号
	private String fax;						//传真
	private String email;					//邮箱
	private Integer postal;					//邮编
	private String phone;					//电话
	private String address;					//地址
	private String longitude;				//经度
	private String latitude;				//纬度
	private String site;					//网址


	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	
	@Column
	public Integer getOc() {
		return oc;
	}
	
	@Column
	public String getFax() {
		return fax;
	}
	
	@Column
	public String getEmail() {
		return email;
	}
	
	@Column
	public Integer getPostal() {
		return postal;
	}
	
	@Column
	public String getPhone() {
		return phone;
	}
	
	@Column
	public String getAddress() {
		return address;
	}
	
	
	@Column
	public String getLongitude() {
		return longitude;
	}
	
	@Column
	public String getLatitude() {
		return latitude;
	}
	@Column
	public String getSite() {
		return site;
	}
	
	
	
	
	
	
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setOc(Integer oc) {
		this.oc = oc;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPostal(Integer postal) {
		this.postal = postal;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public void setSite(String site) {
		this.site = site;
	}
	
}

